#ifndef AUDIOLOGO_H
#define AUDIOLOGO_H

#include <QDialog>
#include <QPoint>
#include <QTimer>
#include <QLabel>
#include <QPainter>
#include <QWidget>
#include <QPixmap>
#include <QBitmap>
#include <QMouseEvent>


/**
 * @brief The AudioLogo class
 * 小麒麟logo界面，双击即可打开语音助手界面
 */


class AudioLogo : public QDialog {
    Q_OBJECT

public:
    AudioLogo(QWidget* parent = nullptr);
    ~AudioLogo();

protected:
    void mousePressEvent(QMouseEvent *event) override;

    void mouseMoveEvent(QMouseEvent *event) override;

    void paintEvent(QPaintEvent* event) override;

    void mouseDoubleClickEvent(QMouseEvent* event) override;

private slots:

signals:
    void startAssistant();

private:
    void setupUI();
    QPoint lastMousePosition;

};


#endif // AUDIOLOGO_H
